package com.ev.k3cloudBusiness.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.ev.k3cloud.entity.K3CloudBaseNumberMetaEntity;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel("盘盈单明细新增Vo")
public class K3StkStockCountGainEntryInsertVo {
    @JSONField(ordinal = 1)
    @ApiModelProperty("物料编码")
    private K3CloudBaseNumberMetaEntity fmaterialId=new K3CloudBaseNumberMetaEntity("");
    @JSONField(ordinal = 2)
    @ApiModelProperty("单位")
    private K3CloudBaseNumberMetaEntity funitId=new K3CloudBaseNumberMetaEntity("");
    @JSONField(ordinal = 3)
    @ApiModelProperty("盘点数量")
    private BigDecimal fcountQty=new BigDecimal(0);
    @JSONField(ordinal = 4)
    @ApiModelProperty("仓库")
    private K3CloudBaseNumberMetaEntity fstockId=new K3CloudBaseNumberMetaEntity("");
    @JSONField(ordinal = 5)
    @ApiModelProperty("仓位")
    private K3StockLocVo fstockLocId=new K3StockLocVo();
    @JSONField(ordinal = 6)
    @ApiModelProperty("批号")
    private K3CloudBaseNumberMetaEntity flot=new K3CloudBaseNumberMetaEntity("");
    @JSONField(ordinal = 7)
    @JsonIgnore
    @ApiModelProperty("货主类型")
    private String fownerTypeId="BD_OwnerOrg";
    @JSONField(ordinal = 8)
    @ApiModelProperty("货主")
    private K3CloudBaseNumberMetaEntity fownerid=new K3CloudBaseNumberMetaEntity("");
    @JSONField(ordinal = 9)
    @JsonIgnore
    @ApiModelProperty("库存状态")
    private K3CloudBaseNumberMetaEntity fstockStatusId=new K3CloudBaseNumberMetaEntity("KCZT01_SYS");
    @JSONField(ordinal = 10)
    @JsonIgnore
    @ApiModelProperty("保管者类型")
    private String fkeeperTypeId="BD_KeeperOrg";
    @JSONField(ordinal = 11)
    @ApiModelProperty("保管者")
    private K3CloudBaseNumberMetaEntity fkeeperId=new K3CloudBaseNumberMetaEntity("");
    @JSONField(ordinal = 12)
    @ApiModelProperty("账存数量")
    private BigDecimal facctQty=new BigDecimal(0);

}
